"""
@File    ：page_menu_h5.py
@Author  ：ixiaodu
@Date    ：2024/8/20
@Desc    ：
"""
import allure
from common.page_base import Base
from page_element import el_menu_h5
from utils.timer import sleep


class MenuH5(Base):
    """菜单类"""

    def click_ceiling_lamp(self):
        """点击吸顶灯"""
        self.base_click(el_menu_h5.ceiling_lamp)
        sleep()

    def click_repair_escalation(self):
        """点击维修上报"""
        self.click_ceiling_lamp()
        sleep()
        self.base_click(el_menu_h5.repair_escalation)
        sleep()
